#if 1
#include "stdio.h"

int main(){
	int c;
	while(c = getchar() != 'x') putchar(c);
	return 0;
}
#endif
